package com.zwkj.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zwkj.pojo.vo.FileVo;
import com.zwkj.pojo.vo.WFileVersionTVo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

import com.zwkj.domain.WFileVersionT;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author 小间隙
 * @description 针对表【w_file_version_t】的数据库操作Service
 * @createDate 2023-12-11 11:32:44
 */
public interface IWFileVersionTService extends IService<WFileVersionT> {

    void addWFileVersionT(WFileVersionTVo wFileVersionTVo);

    void updateWFileVersionT(WFileVersionTVo wFileVersionTVo);

    IPage<WFileVersionTVo> getWFileVersionTPageList(IPage<WFileVersionTVo> page, WFileVersionTVo wFileVersionTVo);

    List<WFileVersionTVo> getWFileVersionTList(WFileVersionTVo wFileVersionTVo);

    WFileVersionT getWFileVersionTById(String id);

    void delWFileVersionT(String id);

    List<FileVo> fileVersions(String fileId, int offset, int limit);

    FileVo fileVersionByVersion(String fileId, int version);

    FileVo fileVersionDownload(String fileId, int version);
}
